﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Weber.CS3280.Inventory.Model
{
	/// <summary>
	/// Model object for data storage of Inventory Item Data
	/// </summary>
	public class InventoryItem
	{
		/// <summary>
		/// Gets or sets the unique item identifier. If it's null, it represents a new inventory record
		/// </summary>
		public int? InventoryItemId { get; set; }

		/// <summary>
		/// Gets or sets the ItemCode, which will be used when ordering
		/// </summary>
		public int ItemCode { get; set; }

		/// <summary>
		/// Gets or sets the friendly name of the Item
		/// </summary>
		public string Name { get; set; }

		/// <summary>
		/// Gets or sets the ID of the item category
		/// </summary>
		public int ItemCategoryId { get; set; }

		/// <summary>
		/// Gets or sets the Retail Price of the item
		/// </summary>
		public decimal RetailPrice { get; set; }

		/// <summary>
		/// Gets or sets the Cost of the item
		/// </summary>
		public decimal Cost { get; set; }
	}
}
